import { axios } from '../utils/http'

/**
 * @description 获取专辑信息
 * @param { Number } id 专辑id
 */
 export const albumDetail = (id) => {
  return axios.get('/album', {params:{id}})
}

/**
 * @description 获取最新专辑
 */
 export const albumNewest = () => {
  return axios.get('/album/newest')
}
